package com.zscat.mallplus.center.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zscat.mallplus.center.entity.CenterExtendVO;
import com.zscat.mallplus.ums.entity.UmsMember;
import com.zscat.mallplus.ums.entity.UmsMemberMemberTagRelation;
import com.zscat.mallplus.ums.entity.UmsMemberTag;

public interface CenterMemberInfoMapper {

	UmsMember selectMemberInfoByUserId(@Param("userId") Long userId);

	List<UmsMemberTag> selectMemberTagByUserId(@Param("userId") Long userId);

	List<UmsMemberTag> selectMemberTags();

	int updateMemberInfoByUserId(@Param("userId") Long userId);

	int deleteMemberRelationByUserId(@Param("userId") Long userId);

	int insertMemberRelation(UmsMemberMemberTagRelation memberTagRelationList);

	int updateMemberInfo(UmsMember member);

	CenterExtendVO getOrderExtendData(@Param("userId") Long userId);

	CenterExtendVO getMemberExtendData(@Param("userId") Long userId);


}
